// DwarfEntity.java package dwarf; import javax.ejb.EJBLocalObject; import javax.ejb.EJBException; public interface DwarfEntity extends EJBLocalObject { public Integer getDwarfId() throws EJBException; public void setDwarfId(Integer dwarfId) throws EJBException; public String getDwarfName() throws EJBException; public void setDwarfName(String dwarfName) throws EJBException; public int getBorn() throws EJBException; public void setBorn(int born) throws EJBException; public MountainEntity getHome() throws EJBException; public void setHome(MountainEntity home) throws EJBException; public DwarfEntity getSpouse() throws EJBException; public void setSpouse(DwarfEntity spouse) throws EJBException; }